func go/types.hasNil
7 uses
go/types (current package)
expr.go#L433: if !hasNil(target) {
expr.go#L525: if !hasNil(typ) {
expr.go#L912: return hasNil(y.typ())
expr.go#L915: return hasNil(x.typ())
predicates.go#L211: func hasNil(t Type) bool {
predicates.go#L219: return u != nil && hasNil(u)
stmt.go#L639: if x.isValid() && !Comparable(x.typ()) && !hasNil(x.typ()) {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)